/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.querysetting.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.common.persistence.Page;
import com.fosung.frame.common.service.CrudService;
import com.fosung.frame.modules.querysetting.entity.QuerySetting;
import com.fosung.frame.modules.querysetting.dao.QuerySettingDao;

/**
 * 查询设置Service
 * @author wu
 * @version 2017-08-31
 */
@Service
@Transactional(readOnly = true)
public class QuerySettingService extends CrudService<QuerySettingDao, QuerySetting> {

	public QuerySetting get(String id) {
		return super.get(id);
	}
	
	public List<QuerySetting> findList(QuerySetting querySetting) {
		return super.findList(querySetting);
	}
	
	public Page<QuerySetting> findPage(Page<QuerySetting> page, QuerySetting querySetting) {
		return super.findPage(page, querySetting);
	}
	
	@Transactional(readOnly = false)
	public void save(QuerySetting querySetting) {
		super.save(querySetting);
	}
	
	@Transactional(readOnly = false)
	public void delete(QuerySetting querySetting) {
		super.delete(querySetting);
	}
	
}